import React from "react";
import ReactDOM from "react-dom/client";
import App from "./App";
import { router } from "./router/index";
import { RouterProvider } from "react-router";
const rootEl = document.getElementById("root");
console.log("router", router);
if (rootEl) {
  const root = ReactDOM.createRoot(rootEl);
  root.render(
    <React.StrictMode>
      {/* <App /> */}
      <RouterProvider router={router} />
    </React.StrictMode>
  );
}
